package sliver.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import sliver.dao.ProvinceDao;
import sliver.entity.Province;
import sliver.service.ProvinceManager;

@Service
@Transactional
public class ProvinceManagerImpl implements ProvinceManager{

	@Autowired
	private ProvinceDao provinceDao;
	
	@Override
	public List<Province> obtainAllProvince() {
		return provinceDao.findAll(Province.class);
	}

}
